#include <iostream>
#include <algorithm>
using namespace std;

bool compare(int a,int b){
    
}

int main(){

    int n = 0, i = 0, k = 0;
    cin >> n;

    char nums[n];
    for (i = 0; i < n; i++)
    {
        cin >> nums[i];
    }

    
    
    

    return 0;
}